Spring 3.x FactoryBean

http://static.springsource.org/spring/docs/current/spring-framework-reference/html/beans.html When you need to ask a container for an actual FactoryBean instance itself, not the bean it produces, you preface the bean id with the ampersand symbol& (without quotes) when calling the getBean() method of the ApplicationContext. So for a given FactoryBean with an id of myBean, invokinggetBean("myBean") on the container returns the product of the FactoryBean, and invoking getBean("&myBean") returns the FactoryBean instance... [Read More]
Tags: java, spring

Hello World 2.0

Hello World 2.0 Hello again. I'm back in the real world with a shiny new Computer Science degree, after three grueling years of hard work. I've relocated to the SF Bay Area from Minneapolis in search of greener pastures. I accepted a position with a startup, Emota.net, and am now... [Read More]

Creating a Javascript Library with Maven

Creating a Javascript Library with Maven A Javascript library consists of some Javascript files, and potentially some resources like images, templates, and stylesheets. In Maven, these are arranged in the following directory structure:my-library/. pom.xml. src/. main/. javascript/. resources/. test/. javascript/. resources/The one item that might require some explanation is pom.xml.... [Read More]

Javascript Maven Plugin Revamped

Javascript Maven Plugin Revamped In the process of researching for the Engineering Better Javascript series, I ended up implementing some of my ideas to make them concrete. I've extended the existing Javascript Maven Tools to include a QUnit plugin and report integration, as well as added some integration tests to... [Read More]

Benefits of a Repository Manager

Benefits of a Repository Manager On the same day I started this series, Tim O'Brien at Sonatype started a series describing the benefits of using a repository manager and saved me a little work ;). He essentially replaced the piece that I've been working on this past week, but he... [Read More]

Engineering Better Javascript

Engineering Better Javascript This is the first in a series of articles exploring a divergent idea for engineering better Javascript using ideas from the Maven build system.Just a few years ago Javascript became used extensibly enough to warrant automated builds. It went from a language which was embedded sparingly in... [Read More]

More Thoughts on Maven Loader

More Thoughts on Maven Loader Continuing the train of thought I started laying out last night, I have some more details about the MavenLoader client module.The Maven JS Plugin could generate a Javascript file or replace a token in HTML files in war projects that sets up the MavenLoader in... [Read More]

Javascript Dependency System using Maven + YUI Loader

Javascript Dependency System using Maven + YUI Loader I started thinking a while back about how to create a repository of Javascript libraries / applications using Maven for decentralized transitive dependency management. The progression of things that has led to these thoughts are Maven, Maven JS Tools (feature request), Google... [Read More]

Observations of Doxia Menu Inheritance

Observations of Doxia Menu Inheritance I couldn't find much/any documentation on inheriting menus from a Super POM using Doxia + Maven 2. Here is a quick overview of what I think I have learned using a small reference example to illustrate.Project Layoutsuperproject|+- src/site/site.xml|\- module1 | \- src/site/site.xmlSuper Module site.xml Content<?xml... [Read More]

Internet Identity Workshop (IIW) - Thoughts

Internet Identity Workshop (IIW) - Thoughts I had the privilege of attending the Internet Identity Workshop (IIW) in Mountain View this week. It was a very cool experience, and my first time out to the valley. On a whole people are pretty sharp, but I think what differentiates them from... [Read More]